package net.hn.hnms.biz.mine;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.client.RestTemplate;


/**
 * 系统模块
 *
 * @author ruoyi
 */

@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients(basePackages = "net.hn.hnms")
@ComponentScan("net.hn.hnms")
public class CmimMineApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(CmimMineApplication.class);
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  智慧矿山模块启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
